﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RightPageOfHome.ascx.cs" Inherits="QTMusic.UserControls.RightPageOfHome" %>

<table width="100%">
    <tr>
        <td>

        <div class="right_content_hdr"><b>Nghe nhieu nhat</b></div>
<div class="main_content_holder">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            Width="100%" AllowPaging="True" HorizontalAlign="Left" BorderColor="White" 
            BorderStyle="None" BorderWidth="0px" 
            onpageindexchanging="GridView1_PageIndexChanging">
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>

                        <!-- same author entry -->
                        <div class="right_content_row">
                            <div class="right_content_row_leftimg"> 
                                <img src="../Resources/WebImages/file mp3.png" alt="../Resources/WebImages/file mp3.png" width="36px" height="36px" /> 
                            </div>
                            <div class="right_content_row_midinfo">
                                <span style="font-size: 14px; font-weight:bold">
                                    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# "~/Websites/Playing.aspx?SongID=" + Eval("song_id") %>'>
                                        <%# Eval("song_name")%>
                                    </asp:HyperLink>
                                </span><br />
                                <span style="font-size: 10px;">Trinh bay: <%# Eval("artist_name")%> - The loai: <%# Eval("genre_name")%> <br />
                                <span></span>
                            </div>
                            <div class="right_content_row_bottomstatistic">
                                    <img src="../Resources/WebImages/listen.jpg" width="10px" height="10px"> <%# Eval("song_play_count")%> - 
                                    <img src="../Resources/WebImages/like.jpg" width="10px" height="10px"> <%# Eval("song_like_count")%> - 
                                    <img src="../Resources/WebImages/comment.jpg" width="10px" height="10px"> <%# Eval("song_download_count")%>
                            </div>
                        </div>
                                                            
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
</div>

        </td>
    </tr>
    <tr>
        <td>

        <div class="right_content_hdr"><b>Like nhieu nhat</b></div>
<div class="main_content_holder">
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
            Width="100%" AllowPaging="True" HorizontalAlign="Left" BorderColor="White" 
            BorderStyle="None" BorderWidth="0px" 
            onpageindexchanging="GridView2_PageIndexChanging">
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                        <!-- same uploader entry -->
                        <div class="right_content_row">
                            <div class="right_content_row_leftimg"> 
                                <img src="../Resources/WebImages/file mp3.png" alt="../Resources/WebImages/file mp3.png" width="36px" height="36px" /> 
                            </div>
                            <div class="right_content_row_midinfo">
                                <span style="font-size: 14px; font-weight:bold">
                                    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# "~/Websites/Playing.aspx?SongID=" + Eval("song_id") %>'>
                                        <%# Eval("song_name")%>
                                    </asp:HyperLink>
                                </span><br />
                                <span style="font-size: 10px;">Trinh bay: <%# Eval("artist_name")%> - The loai: <%# Eval("genre_name")%> <br />
                                <span></span>
                            </div>
                            <div class="right_content_row_bottomstatistic">
                                <img src="../Resources/WebImages/listen.jpg" width="10px" height="10px"> <%# Eval("song_play_count")%> - 
                                    <img src="../Resources/WebImages/like.jpg" width="10px" height="10px"> <%# Eval("song_like_count")%> - 
                                    <img src="../Resources/WebImages/comment.jpg" width="10px" height="10px"> <%# Eval("song_download_count")%>
                            </div>
                        </div>
                                                            
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
</div>

        </td>
    </tr>
</table>